package bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Transient;

@Data
public class PlatformMember {
    @Id
    @Column(name = "`id`")
    private Integer id;

    /**
     * 平台ID
     */
    @Column(name = "`platform_id`")
    private Integer platformId;

    /**
     * 平台名称
     */
    @Transient
    private String platformName;
    @Transient
    private Integer  rate;
    /**
     * 平台logo
     */
    @Transient
    private String platformLogo;

    /**
     * 用户ID
     */
    @Column(name = "`member_id`")
    private Integer memberId;

    /**
     * 账号
     */
    @Column(name = "`account`")
    private String account;

    /**
     * 密码
     */
    @Column(name = "`password`")
    private String password;

    /**
     * 买号  auto 自动
     */
    @Column(name = "`buyer`")
    private String buyer;

    /**
     * 价格范围开始
     */
    @Column(name = "`price_begin`")
    private Integer priceBegin;

    /**
     * 价格范围结束
     */
    @Column(name = "`price_end`")
    private Integer priceEnd;

    /**
     * 佣金范围开始
     */
    @Column(name = "`commission_begin`")
    private Integer commissionBegin;

    /**
     * 佣金范围结束
     */
    @Column(name = "`commission_end`")
    private Integer commissionEnd;

    /**
     * 时间间隔开始
     */
    @Column(name = "`space`")
    private Integer space;

    /**
     * 时间间隔结束
     */
   /* @Column(name = "`space_end`")
    private Integer spaceEnd;*/

    @Transient  //忽略
    private String url;//登录地址
    @Transient
    private String token;//验证码
    @Transient
    private String clientId;//用户端标识
    @Transient
    private String namePinyin;//平台拼音
    @Transient
    private String platformwebsite;
    @Transient
    private Integer buyerId;//买号id
    @Transient
    private String loginToken;//登录验证码
    @Transient
    private String oredrToken;//接单验证码

    private static final long serialVersionUID = 1L;
}
